def run(params:list[str]):
    from ApiTools import apiTools,apiBase
    import json
    #是dir 还是QA
    #多个向量库采用；分割
    collects=apiBase.argv_array(params,1,'proc/extract/tablename;')
    usr_prompt=apiBase.argv(params,2,"Read the table ddl")
    ids=apiBase.argv_array(params,3)
    try:
        vectdb = apiTools.load_vec()
        vcts=apiTools.load_models().get_vects(collects,ids)
        txts=vectdb.clts_query(vcts, usr_prompt,"tol-name")
        ret=json.dumps(txts, ensure_ascii=False)
        return ret
    except Exception as e:
        print(f"llm调用错误:{e}")